package FinancePersonalPackage;

import java.awt.EventQueue;

import javax.swing.JDialog;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.event.MouseAdapter;

import javax.swing.JTextField;
import javax.swing.JButton;

public class CadastraCategoria extends JDialog {
	private JTextField textField;

	/**
	 * Create the dialog.
	 * @param mouseAdapter 
	 */
	public CadastraCategoria(MouseAdapter mouseAdapter) {
		setModal(true);
		setTitle("Incluir Categoria");
		setBounds(100, 100, 420, 167);
		getContentPane().setLayout(null);
		
		JLabel label = new JLabel("Descri\u00E7\u00E3o: ");
		label.setFont(new Font("Tahoma", Font.BOLD, 13));
		label.setBounds(40, 32, 81, 14);
		getContentPane().add(label);
		
		textField = new JTextField();
		textField.setColumns(10);
		textField.setBounds(131, 30, 210, 20);
		getContentPane().add(textField);
		
		JButton btnIncluirCategoria = new JButton("Incluir Categoria");
		btnIncluirCategoria.setBounds(190, 70, 151, 23);
		getContentPane().add(btnIncluirCategoria);

	}
}
